home *** CD-ROM | disk | FTP | other *** search
- Path: htsa.htsa.hva.nl!not-for-mail
- From: ferdinan@htsa.htsa.hva.nl (Ferdinand de Boevere)
- Newsgroups: comp.lang.c
- Subject: Re: Storing C Functions In An Array?
- Date: 4 Apr 1996 20:01:48 +0200
- Organization: Hogeschool van Amsterdam, The Netherlands, E.E. & C.S. Dept.
- Message-ID: <4k12qc$epc@oege.htsa.hva.nl>
- References: <4jc1u7$5e9@infa.central.susx.ac.uk> <4jerhn$sc8@oege.htsa.hva.nl> <4jj5d0$me8@news.xs4all.nl>
- NNTP-Posting-Host: oege.htsa.hva.nl
-
- In article <4jj5d0$me8@news.xs4all.nl>, Falstaff <falstaff@xs4all.nl> wrote:
- >ferdinan@htsa.htsa.hva.nl (Ferdinand de Boevere) writes:
-
- >I remember one entry in an early Obfuscated C Programming Contest.
- >It declared main something like this:
-
- >int main[]=
- >{ 5236,736,8,-547,'f',
-
- >and it actually ran on PDPs and VAXen. So it *can* be done :-)
-
- No, it can't be done !
- This was probably nothing but declaring an array called main
- inside another function (e.g. main).
-
- Ferdinand
-
-